/* -- Form basic styles ----------------------------------------------------------------------------------- */

form:not(:last-child) {
	margin-bottom: 20px;
}

form > div:not(:last-child) {
	margin-bottom: 20px;
}

form > div > div {
	margin-bottom: 10px;
}

form label {
	color: #568dc3;
	display: inline-block;
	vertical-align: middle;
	width: 150px;
}

/* -- Input styles ---------------------------------------------------------------------------------------- */

input, textarea, select {
	-moz-transition: opacity 400ms ease-in-out;
	-webkit-transition: opacity 400ms ease-in-out;
	font-family: inherit;
	font-size: 12px;
	margin : 0px;
	padding: 6px;
	color: #676767;
	width: 80px;
	border: 1px solid #cccccc;
	background: #fffbf0;
	text-align: right;
}

input:not([readonly]):focus, textarea:not([readonly]):focus, select:not([readonly]):focus {
	border: 1px solid #568dc3 !important;
}

input[type=checkbox], input[type=radio] {
	width: auto !important;
}

input[type=radio] {
	border: 0px !important;
}

input[disabled], select[disabled], textarea[disabled] {	
	opacity: .4;
}

input[readonly], select[readonly], textarea[readonly] {
	background: transparent;
	border: 1px solid transparent;
	cursor: default;
}

input[required], select[required], textarea[required] {
	border-color: #eb9db4;
}

button {
	background: -moz-linear-gradient(top, #8eb8d3 0%, #608fbd 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8eb8d3), color-stop(100%,#608fbd)); /* Chrome,Safari4+,Android2+ */
	background: -webkit-linear-gradient(top, #8eb8d3 0%,#608fbd 100%); /* Chrome10+,Safari5.1+, Android4+ */
	background: -o-linear-gradient(top, #8eb8d3 0%,#608fbd 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #8eb8d3 0%,#608fbd 100%); /* IE10+ */
	border-bottom: 1px solid #5b80ad;
	border-left: 1px solid #8eb8d3;
	border-radius: 4px;
	border-right: 1px solid #5b80ad;
	border-top: 1px solid #8eb8d3;
	color: #ffffff;
	padding: 8px;
}

button:focus {
	outline: none;
}

button:active {
	background: -moz-linear-gradient(top,  rgba(96,143,189,1) 0%, rgba(142,184,211,1) 100%, rgba(142,184,211,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(96,143,189,1)), color-stop(100%,rgba(142,184,211,1)), color-stop(100%,rgba(142,184,211,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(96,143,189,1) 0%,rgba(142,184,211,1) 100%,rgba(142,184,211,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(96,143,189,1) 0%,rgba(142,184,211,1) 100%,rgba(142,184,211,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(96,143,189,1) 0%,rgba(142,184,211,1) 100%,rgba(142,184,211,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(96,143,189,1) 0%,rgba(142,184,211,1) 100%,rgba(142,184,211,1) 100%); /* W3C */
	box-shadow: inset 1px 1px 1px #435f80;
}